package com.his.j259w264.pojo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 死亡报告表(DeathReport)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 10:15:44
 */

@ApiModel(value = "DeathReport", description = "死亡报告表")
public class DeathReport implements Serializable {
    private static final long serialVersionUID = 904199493454691718L;
    /**
     * 主键
     */
    @ApiModelProperty(name = "id", notes = "主键", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 病人id
     */
    @ApiModelProperty(name = "patientId", notes = "病人id", dataType = "Integer", required = true)
    private Integer patientId;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "userId", notes = "用户id", dataType = "Integer", required = true)
    private Integer userId;
    /**
     * 发病日期
     */
    @ApiModelProperty(name = "morbidityDate", notes = "发病日期", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date morbidityDate;
    /**
     * 诊断日期
     */
    @ApiModelProperty(name = "diagnosticTime", notes = "诊断日期", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date diagnosticTime;
    /**
     * 死亡日期
     */
    @ApiModelProperty(name = "deathDate", notes = "死亡日期", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deathDate;
    /**
     * 根本死亡原因
     */
    @ApiModelProperty(name = "deathReason", notes = "根本死亡原因", dataType = "String", required = true)
    private String deathReason;
    /**
     * 其他死亡原因
     */
    @ApiModelProperty(name = "deathOtherReason", notes = "其他死亡原因", dataType = "String", required = true)
    private String deathOtherReason;
    /**
     * 报告单位
     */
    @ApiModelProperty(name = "reportUnit", notes = "报告单位", dataType = "String", required = true)
    private String reportUnit;
    /**
     * 填卡日期
     */
    @ApiModelProperty(name = "cardDate", notes = "填卡日期", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cardDate;
    /**
     * 不明死因的主要症状体征
     */
    @ApiModelProperty(name = "unknownDeathReason", notes = "不明死因的主要症状体征", dataType = "String", required = true)
    private String unknownDeathReason;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getMorbidityDate() {
        return morbidityDate;
    }

    public void setMorbidityDate(Date morbidityDate) {
        this.morbidityDate = morbidityDate;
    }

    public Date getDiagnosticTime() {
        return diagnosticTime;
    }

    public void setDiagnosticTime(Date diagnosticTime) {
        this.diagnosticTime = diagnosticTime;
    }

    public Date getDeathDate() {
        return deathDate;
    }

    public void setDeathDate(Date deathDate) {
        this.deathDate = deathDate;
    }

    public String getDeathReason() {
        return deathReason;
    }

    public void setDeathReason(String deathReason) {
        this.deathReason = deathReason;
    }

    public String getDeathOtherReason() {
        return deathOtherReason;
    }

    public void setDeathOtherReason(String deathOtherReason) {
        this.deathOtherReason = deathOtherReason;
    }

    public String getReportUnit() {
        return reportUnit;
    }

    public void setReportUnit(String reportUnit) {
        this.reportUnit = reportUnit;
    }

    public Date getCardDate() {
        return cardDate;
    }

    public void setCardDate(Date cardDate) {
        this.cardDate = cardDate;
    }

    public String getUnknownDeathReason() {
        return unknownDeathReason;
    }

    public void setUnknownDeathReason(String unknownDeathReason) {
        this.unknownDeathReason = unknownDeathReason;
    }

}
